package com.transfer.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import com.transfer.entity.PersonTransfer;
import com.transfer.entity.dto.PersonTransferQueryDTO;


public interface IPersonTransferService {
	public void saveOrUpdate(PersonTransfer personTransfer);
	public void saveOrUpdate(PersonTransferQueryDTO personTransferQueryDTO);
	
	public void delete(PersonTransfer personTransfer);
	public PersonTransfer findOne(Long id);
	public List<PersonTransfer> findAll();
	public void delete(List<Long>ids);
	//动态条件查询
	public Page<PersonTransferQueryDTO> findAll(Specification<PersonTransfer> spec, Pageable pageable);
}
